package com.gxa.employment.entity.dto;

import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: 肖栋睿
 * @DateTime: 2025/3/2 16:32
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReallocatePermDto{
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
    @NotEmpty(message = "传入菜单数组不能为空")
    private List<Integer> permIds;
    @NotEmpty(message = "传入类型不能为空")
    private String type;
}
